﻿#ifndef CCorrectDevCfgDlg_H
#define CCorrectDevCfgDlg_H
/********************************************************************************
** @ Date:2025/10/11
** @ Author: HanJiaXin
** @ Description:
** @ Version:1.0.0
** @ ClassName:
** @ Fun:
********************************************************************************/
#include <QDialog>
#include "ui_CCorrectDevCfgDlg.h"
#include "CDevDataBeltRealign.h"

class CCorrectDevCfgDlg : public QDialog
{
	Q_OBJECT

public:
	CCorrectDevCfgDlg(CDevDataBeltRealign* pDevData,QWidget *parent = nullptr);
	CCorrectDevCfgDlg(QString sPointGuid);
	~CCorrectDevCfgDlg();

	void setData();

private:
	//添加AI检测设备modbus信息
	bool addDefAIModbusData(QList<QStringList>& listModbusData);

public slots:
	void slotPushButtonSave();		     //点击保存按钮
	void slotPushButtonClose();		     //点击关闭按钮
	void slotIsHavePlcChanged(const QString &text);
	void slotCamerIpChanged(const QString &);

private:
	Ui::CCorrectDevCfgDlgClass ui;
	int m_nType;//0:修改 1:添加
	QString m_sPointGuid;
	CDevDataBeltRealign* m_pDevData;
};

#endif